package com.code2roc.fastface.eums;

public class FaceEnum {

    public enum CheckImageFaceStatus {
        NoFace(10, "无人脸"), OneFace(20, "一张人脸"), MoreFace(30, "多张人脸");
        private int _value;
        private String _name;
        private CheckImageFaceStatus(int value, String name) {
            set_value(value);
            set_name((name));
        }
        public int get_value() {
            return _value;
        }
        public void set_value(int _value) {
            this._value = _value;
        }
        public String get_name() {
            return _name;
        }
        public void set_name(String _name) {
            this._name = _name;
        }
        @Override
        public String toString() {
            return _name;
        }
    }

    public enum CompareImageFaceStatus {
        Same(10, "一致"), Different(20, "不一致"), LostFace(30, "缺失人脸");
        private int _value;
        private String _name;
        private CompareImageFaceStatus(int value, String name) {
            set_value(value);
            set_name((name));
        }
        public int get_value() {
            return _value;
        }
        public void set_value(int _value) {
            this._value = _value;
        }
        public String get_name() {
            return _name;
        }
        public void set_name(String _name) {
            this._name = _name;
        }
        @Override
        public String toString() {
            return _name;
        }
    }
}
